package com.qk.management.controller;

import com.qk.common.Result;
import com.qk.management.service.ReportOverViewService;
import com.qk.vo.portal.PortalVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/report")
public class ReportOverViewController {
    @Autowired
    private ReportOverViewService reportOverViewService;
    @GetMapping("/overview")
    public Result getReportOverview() {
        PortalVO portalVO = reportOverViewService.getReportOverview();
        return Result.success(portalVO);
    }
}
